package com.wodsy.phoenix.datadao.payc.dao.impl;

import com.wodsy.phoenix.datadao.base.BaseHibernateDao;
import com.wodsy.phoenix.datadao.payc.dao.TradeQuotationDao;
import com.wodsy.phoenix.dataobject.payc.model.TradeQuotation;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

/**
 * 名称：com.wodsy.phoenix.datadao.pay.dao.com.wodsy.phoenix.datadao.payc.dao
 * 描述：<br>
 * 类型：JAVA<br>
 * 最近修改时间：13/03/2015 10:56<br>
 *
 * @author Jack Chan
 * @since 13/03/2015
 */
@Repository
public class TradeQuotationDaoImpl extends BaseHibernateDao<TradeQuotation, Long> implements TradeQuotationDao{
    @Override
    @Autowired
    @Qualifier("payc")
    public void setSessionFactory(SessionFactory sessionFactory) {
        this.sessionFactory = sessionFactory;
    }

    @Override
    public Class<TradeQuotation> getModelClass() {
        return TradeQuotation.class;
    }
}
